package cn.edu.scau.cmi.wujiacheng.mybatis.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import cn.edu.scau.cmi.wujiacheng.mybatis.pojo.Student;
import cn.edu.scau.cmi.wujiacheng.mybatis.pojo.Teacher;

@Repository
public interface StudentMapper {
	public boolean insertStudent(Student student);
	public boolean deleteStudentByID(@Param("stuID") String stuID);
	public boolean updateStudentName(Student student);
	public boolean updateStudentTutorByID(@Param("stuID") String stuID, @Param("teaID") String tutorID);
	public Teacher selectStudentTutor(@Param("stuID") String stuID);
}
